<template>
  <div>
    <el-tag v-if="row.cname_status === 0" type="danger">cname状态失效</el-tag>
    <el-tag v-else-if="row.status === 2">等待审核</el-tag>
    <el-tag v-else-if="row.status === 0" type="danger">审核未通过</el-tag>
    <el-tag v-else type="success">正常</el-tag>
  </div>
</template>

<script>
export default {
  name: 'Status',
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  }
}

</script>

<style scoped lang="scss">

</style>
